﻿/******************************************************   
创建者: ljj
创建时间: 2018-01-24
修改:
修改时间: 
功能: 翻单量计算实体
 ******************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.nm.Attributes;

namespace InventoryToPredictAPI.model
{
    public class GoodsReorderTotalDemandModel
    {
        /// <summary>
        /// 翻单量计算主要实体
        /// </summary>
        /// Writer：ljj
        /// Create Date：2018-01-24
        public class NeceModel
        {
            [ParamDescription("数据源")]
            public string ExtrSource { get; set; }
            [ParamDescription("公司ID")]
            public string CompanyID { get; set; }
            [ParamDescription("货号")]
            public string MaterialID { get; set; }
            [ParamDescription("预计销售")]
            public double? MonthSaleQty { get; set; }
            [ParamDescription("期末陈列需求")]
            public long? PlayReqQty { get; set; }
        }

        /// <summary>
        /// 翻单量计算显示实体
        /// </summary>
        /// Writer：ljj
        /// Create Date：2018-01-24
        public class ListModel: NeceModel
        {
            [ParamDescription("销售周期")]
            public long? SaleDays { get; set; }
            [ParamDescription("计算翻单日期")]
            public string ReorderDate { get; set; }
            [ParamDescription("ERP订单日期")]
            public string CheckDate { get; set; }
            [ParamDescription("距今天数")]
            public string FromToday { get; set; }
            [ParamDescription("ERP订单")]
            public long? ERPFlag { get; set; }
            [ParamDescription("大类")]
            public string KindName { get; set; }
            [ParamDescription("性别")]
            public string SexName { get; set; }
            [ParamDescription("子项目")]
            public string ItemOrSub { get; set; }
            [ParamDescription("款号")]
            public string StyleCode { get; set; }
            [ParamDescription("货品简称")]
            public string MaterialShortName { get; set; }
            [ParamDescription("季节")]
            public string SeasonName { get; set; }
            [ParamDescription("颜色")]
            public string ColorName { get; set; }
            [ParamDescription("上市天数")]
            public long? MoveDays { get; set; }
            [ParamDescription("标准陈列量")]
            public long? DisplayQty { get; set; }
            [ParamDescription("翻单总需求")]
            public long? TotalQty { get; set; }
            [ParamDescription("翻单到货后库存")]
            public long? StockQty { get; set; }
            [ParamDescription("翻单时库存")]
            public long? InitQty { get; set; }
            [ParamDescription("综合排名")]
            public long? RowNumber { get; set; }
            [ParamDescription("建议翻单量")]
            public long? OrderQty { get; set; }
            [ParamDescription("生产周期")]
            public long? ProductDays { get; set; }
            [ParamDescription("畅滞销状态")]
            public string AllCzpFlagNow { get; set; }
            [ParamDescription("翻单到店日期")]
            public string ArriverDate { get; set; }
            [ParamDescription("供应商名称")]
            public string VendCustName { get; set; }
            [ParamDescription("供应商代码")]
            public string VendCustCode { get; set; }
            [ParamDescription("成本价")]
            public string CostPrice { get; set; }
            [ParamDescription("订单到货日期")]
            public string StartShipDate { get; set; }
            [ParamDescription("ERP订单号")]
            public string BillNo { get; set; }
            [ParamDescription("订单数量")]
            public decimal? ErpOrderQty { get; set; }
        }

        /// <summary>
        /// 计算翻单下单辅助信息实体
        /// </summary>
        /// Writer：ljj
        /// Create Date：2018-01-24
        public class ItemModel: NeceModel
        {
            [ParamDescription("店类型")]
            public string ShopType { get; set; }
            [ParamDescription("店铺级别")]
            public string InfoName { get; set; }
            [ParamDescription("店铺数")]
            public long? ShopNum { get; set; }
            [ParamDescription("日均销")]
            public double? DaySaleQty { get; set; }
            [ParamDescription("销售月份")]
            public string month { get; set; }
            [ParamDescription("本月销售天数")]
            public long? MonthDays { get; set; }
        }
    }
}
